package com.molan.molan_music.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "测试默认接口")
@RestController
@RequestMapping("/default")
public class DefaultController {

    @ApiOperation(value = "测试sayHello",notes = "测试sayHello接口")
    @GetMapping("/sayHello")
    public String sayHello(){
        return "欢迎来到墨岚空间！";
    }
}
